﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200064D RID: 1613
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetAssistListScRsp : IMessage<GetAssistListScRsp>, IMessage, IEquatable<GetAssistListScRsp>, IDeepCloneable<GetAssistListScRsp>, IBufferMessage
	{
		// Token: 0x170014D9 RID: 5337
		// (get) Token: 0x060048CE RID: 18638 RVA: 0x000C8401 File Offset: 0x000C6601
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetAssistListScRsp> Parser
		{
			get
			{
				return GetAssistListScRsp._parser;
			}
		}

		// Token: 0x170014DA RID: 5338
		// (get) Token: 0x060048CF RID: 18639 RVA: 0x000C8408 File Offset: 0x000C6608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetAssistListScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170014DB RID: 5339
		// (get) Token: 0x060048D0 RID: 18640 RVA: 0x000C841A File Offset: 0x000C661A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetAssistListScRsp.Descriptor;
			}
		}

		// Token: 0x060048D1 RID: 18641 RVA: 0x000C8421 File Offset: 0x000C6621
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAssistListScRsp()
		{
		}

		// Token: 0x060048D2 RID: 18642 RVA: 0x000C8434 File Offset: 0x000C6634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAssistListScRsp(GetAssistListScRsp other) : this()
		{
			this.assistList_ = other.assistList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060048D3 RID: 18643 RVA: 0x000C846A File Offset: 0x000C666A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAssistListScRsp Clone()
		{
			return new GetAssistListScRsp(this);
		}

		// Token: 0x170014DC RID: 5340
		// (get) Token: 0x060048D4 RID: 18644 RVA: 0x000C8472 File Offset: 0x000C6672
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PlayerAssistInfo> AssistList
		{
			get
			{
				return this.assistList_;
			}
		}

		// Token: 0x170014DD RID: 5341
		// (get) Token: 0x060048D5 RID: 18645 RVA: 0x000C847A File Offset: 0x000C667A
		// (set) Token: 0x060048D6 RID: 18646 RVA: 0x000C8482 File Offset: 0x000C6682
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060048D7 RID: 18647 RVA: 0x000C848B File Offset: 0x000C668B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetAssistListScRsp);
		}

		// Token: 0x060048D8 RID: 18648 RVA: 0x000C849C File Offset: 0x000C669C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetAssistListScRsp other)
		{
			return other != null && (other == this || (this.assistList_.Equals(other.assistList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060048D9 RID: 18649 RVA: 0x000C84EC File Offset: 0x000C66EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.assistList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060048DA RID: 18650 RVA: 0x000C8539 File Offset: 0x000C6739
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060048DB RID: 18651 RVA: 0x000C8541 File Offset: 0x000C6741
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060048DC RID: 18652 RVA: 0x000C854C File Offset: 0x000C674C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			this.assistList_.WriteTo(ref output, GetAssistListScRsp._repeated_assistList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060048DD RID: 18653 RVA: 0x000C859C File Offset: 0x000C679C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.assistList_.CalculateSize(GetAssistListScRsp._repeated_assistList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060048DE RID: 18654 RVA: 0x000C85F0 File Offset: 0x000C67F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetAssistListScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.assistList_.Add(other.assistList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060048DF RID: 18655 RVA: 0x000C863D File Offset: 0x000C683D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060048E0 RID: 18656 RVA: 0x000C8648 File Offset: 0x000C6848
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.assistList_.AddEntriesFrom(ref input, GetAssistListScRsp._repeated_assistList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001CE5 RID: 7397
		private static readonly MessageParser<GetAssistListScRsp> _parser = new MessageParser<GetAssistListScRsp>(() => new GetAssistListScRsp());

		// Token: 0x04001CE6 RID: 7398
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001CE7 RID: 7399
		public const int AssistListFieldNumber = 9;

		// Token: 0x04001CE8 RID: 7400
		private static readonly FieldCodec<PlayerAssistInfo> _repeated_assistList_codec = FieldCodec.ForMessage<PlayerAssistInfo>(74U, PlayerAssistInfo.Parser);

		// Token: 0x04001CE9 RID: 7401
		private readonly RepeatedField<PlayerAssistInfo> assistList_ = new RepeatedField<PlayerAssistInfo>();

		// Token: 0x04001CEA RID: 7402
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04001CEB RID: 7403
		private uint retcode_;
	}
}
